package com.charley.icloud.admin.webapps.sysuser.service;

import com.charley.icloud.admin.webapps.sysuser.pojo.entity.SysUserDO;
import com.charley.icloud.datasource.page.PageRequest;
import com.charley.icloud.datasource.service.CurdService;

import java.io.File;

/**
 * 用户管理
 * */
public interface SysUserService extends CurdService<SysUserDO> {

    Boolean existUserByAccount(String number);

    SysUserDO findByAccount(String account);


    /**
     * 生成用户信息Excel文件
     */
    File createUserExcelFile(PageRequest pageRequest);

}
